package com.gcxy.dto.weekly;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName AddWeeklyDTO
 * @Author qinlun
 * @Date 2024/7/26 16:07
 * @Describe
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "UpdateWeeklyDTO", description = "修改周报传入参数")
public class UpdateWeeklyDTO {

    @ApiModelProperty(value = "周报id", required = true)
    @NotNull(message = "周报id不能为空")
    private Integer id;

    @ApiModelProperty(value = "任务完成情况", required = true)
    @NotBlank(message = "任务完成情况不能为空")
    private String taskComplete;

    @ApiModelProperty(value = "下周计划", required = true)
    @NotBlank(message = "下周计划不能为空")
    private String plan;

    @ApiModelProperty(value = "收获", required = true)
    @NotBlank(message = "收获不能为空")
    private String harvest;

    @ApiModelProperty(value = "遇到的问题以及解决思路", required = true)
    @NotBlank(message = "遇到的问题以及解决思路不能为空")
    private String problemsAndSolutions;

    @ApiModelProperty(value = "学习任务完成情况", required = true)
    @NotBlank(message = "学习任务完成情况不能为空")
    private String learningTaskCompletion;

}
